import http from "@/utils/http";
const prefixUrl = {
  query: "/analysis/payment-platform/list",
  quertySearchDicts: "analysis/payment-platform/filter-data",
  create: "/analysis/payment-platform/create",
  update: "/analysis/payment-platform/update",
  updateStatus: "/analysis/payment-platform/disable",
};
export default {
  role: {
    query: "POST:" + prefixUrl.query,
    quertySearchDicts: "POST:" + prefixUrl.quertySearchDicts,
    create: "POST:" + prefixUrl.create,
    update: "POST:" + prefixUrl.update,
    updateStatus: "POST:" + prefixUrl.updateStatus,
  },
  query(params = {}) {
    return http.post(prefixUrl.query, params);
  },
  quertySearchDicts(params = {}) {
    return http.post(prefixUrl.quertySearchDicts, params);
  },
  create(params = {}) {
    return http.post(prefixUrl.create, params);
  },
  update(params = {}) {
    return http.post(prefixUrl.update, params);
  },
  updateStatus(params = {}) {
    return http.post(prefixUrl.updateStatus, params);
  },
};
